package com.javatiaocao.myblog.service;

import com.javatiaocao.myblog.utils.DataMap;
import org.springframework.security.core.userdetails.UserDetails;

import javax.servlet.http.HttpServletRequest;

public interface StatisticsInfoService {
    DataMap getStatisticsInfo(HttpServletRequest request, UserDetails userDetails);

    DataMap getVisitorNumByPageName(String pageName, HttpServletRequest request);

    DataMap getSiteInfo();

    DataMap getUserNews(String username);
}
